/**
 * Copyright &copy; 2016 CreditEase Co., Ltd. All rights reserved.
 */
package com.ssd.demo.base.exception;

/**
 * Service层公用的Exception, 从由Spring管理事务的函数中抛出时会触发事务回滚.
 * 
 * @author creditease
 */
public class ServiceException extends RuntimeException {

    private static final long serialVersionUID = 1L;
    /**
     * 
     */
    public ServiceException() {
        super();
    }
    /**
     * 
     * @param message 异常信息
     */
    public ServiceException(String message) {
        super(message);
    }
    /**
     * 
     * @param cause Throwable
     */
    public ServiceException(Throwable cause) {
        super(cause);
    }

    /**
     * 
     * @param message 异常信息
     * @param cause Throwable
     */
    public ServiceException(String message, Throwable cause) {
        super(message, cause);
    }
}
